package com.ruoyi.project.platform.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 项目对象 plt_user_project
 * 
 * @author ruoyi
 * @date 2020-09-16
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class PltUserProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目ID */
    private Long projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String description;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    private Long[] bindRunningIds;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("name", getName())
            .append("description", getDescription())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .toString();
    }
}
